﻿<%@ Page Title="Log in" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="True" CodeBehind="Login.aspx.cs" Inherits="WebApplication2.Account.Login" %>
<%@ Register Src="~/Account/OpenAuthProviders.ascx" TagPrefix="uc" TagName="OpenAuthProviders" %>

<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1><%: Title %>.</h1>
                <h2>Groep16 - Festivalinfo</h2>
            </hgroup>
            <p>
                Vul uw gegevens in om in te loggen.
            </p>
        </div>
    </section>
</asp:Content>
<asp:Content runat="server" ID="BodyContent" ContentPlaceHolderID="MainContent">
    <section id="loginForm">
        <asp:Login ID="LoginForm" runat="server" ViewStateMode="Disabled" RenderOuterTable="false" OnAuthenticate="LoginForm_Authenticate" OnLoggedIn="LoginForm_LoggedIn">
            <LayoutTemplate>
                <p class="validation-summary-errors">
                    <asp:Literal runat="server" ID="FailureText" />
                </p>
                <fieldset>
                    <legend>Inlogformulier</legend>
                    <ol>
                        <li>
                            <asp:Label runat="server" AssociatedControlID="UserName">Gebruikersnaam</asp:Label>
                            <asp:TextBox runat="server" ID="UserName" />
                            <asp:RequiredFieldValidator runat="server" ControlToValidate="UserName" CssClass="field-validation-error" ErrorMessage="Vul een gebruikersnaam in." />
                       </li>
                        <li>
                            <asp:Label runat="server" AssociatedControlID="Password">Wachtwoord</asp:Label>
                           <asp:TextBox runat="server" ID="Password" TextMode="Password" />
                            <asp:RequiredFieldValidator runat="server" ControlToValidate="Password" CssClass="field-validation-error" ErrorMessage="Vul het wachtwoord in." />
                        </li>
                    </ol>
                    <asp:Button runat="server" CommandName="Login" Text="Log in" Onclick="login_Click"/>
                </fieldset>
            </LayoutTemplate>
        </asp:Login>
    </section>
</asp:Content>
